Test for Loops - Programming Foundations with Python
Review for Loops
Imagine you were to model this dance in code. How would you do that?
A:
num = 1 while(num <=5): shake shoulders to the left shake shoulders to the right
B:
num = 1 while(num <= 5): shake shoulders to the left shake shoulders to the right num = num + 1
C:
while(num <= 5): shake shoulders to the left shake shoulders to the right
D:
print("I don't know")
A
B
C
D